Skip to content

Apply ruff/pyupgrade rules UP031 and UP032 - #261

Open
DimitriPapadopoulos wants to merge 2 commits into
python-cffi:mainfrom
DimitriPapadopoulos:UP031-UP032
Open

DimitriPapadopoulos wants to merge 2 commits into
python-cffi:mainfrom
DimitriPapadopoulos:UP031-UP032

Conversation

@DimitriPapadopoulos

@DimitriPapadopoulos DimitriPapadopoulos commented Jul 19, 2026 •

Copy link
Copy Markdown
Contributor

No description provided.

These are automatic fixes using:
* `--select UP031 --fix --unsafe-fixes`
* `--select UP032 --fix`
These are manual fixes
@DimitriPapadopoulos
DimitriPapadopoulos marked this pull request as ready for review October 25, 2026 15:26
}
""" % (source, ' '.join(setters)))
}}
""".format(source, ' '.join(setters)))

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I read up to here, but am not sure about some of these. Is this really better than what we had?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants